<li class="blockrow floatcontainer">
	<ul class="stats">
		<li class="views">{vb:raw attachment.counter}</li>
		<li class="size">{vb:raw attachment.filesize}</li>
	</ul>
	<ul class="desc">
		<li class="views shade">{vb:rawphrase views}:</li>
		<li class="size shade">{vb:rawphrase size}:</li>
	</ul>
	<div class="attachment">
		<img src="{vb:stylevar imgdir_attach}/{vb:raw attachment.attachmentextension}.gif" alt="{vb:rawphrase file_type_x, {vb:raw attachment.attachmentextension}}" width="16" height="16" />
        <!-- ADD for torrent -->
        <vb:if condition="$attachment['attachmentextension'] == 'torrent'">
        <a href="btdownload.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}">{vb:raw attachment.filename}</a>
        <vb:else />
		<a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}">{vb:raw attachment.filename}</a>
        </vb:if>
	</div>
</li>